﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.App_Start
{
    public delegate void Xhandler<U>(U t);

    public interface iDataProc
    {
         void doproc();
    }

    public class fanxing<T> where T : iDataProc
    {
        public void doint(int x) { }

        public void doTh(int x) {
            Xhandler<int> xhandl = doint;
            xhandl(3);
        }
    }
}